import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import '@/style/style.css'

// 1. 导入 store 根对象/实例
import store from '@/store'
// 这里的导入
// 写全：import store from '@/store/index.js'
// import store from './store/index.js'

Vue.config.productionTip = false

// 2. 注入
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')

